<div class="header-wrap">
    <div class="header-top-wrap">
        <div class="header-top clearfixa">
            <div class="logo-box fl">
                <a href="javascript:void(0)">
                    <img src="/home/images/logo.png" alt="">
                </a>
            </div>
            <div class="login-api-box fr">
                {if condition="$agent_info.username neq ''"}
                <span>欢迎 {$agent_info.username}。</span>/
                <span><a href="{:url('login/loginOut')}">退出</a></span>
                {else /}
                <span><a href="/">登录</a></span>/
                <span>注册</span>
                {/if}
            </div>
        </div>
    </div>
    <div class="header-bottom-wrap">
        <div class="header-bottom">
            <div class="second-logo-box">
                <a href="javascript:void(0)">
                    <img src="/home/images/teacher-logo.png" alt="">
                </a>
            </div>
        </div>
    </div>
</div>